home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / text / hyper / ADtoHT2_1.lha / Source.lha / MyLib.lha / startup / _geta4.doc next >
Encoding:
Text File  |  1995-04-10  |  747 b   |  26 lines

  1. MyLib/_geta4                                                      MyLib/_geta4
  2.  
  3.     NAME
  4.     _geta4 - reload base pointer for baserelative adressing
  5.  
  6.     SYNOPSIS
  7.     #include <Amiga.h>
  8.  
  9.     void _geta4(void);
  10.  
  11.     NAME
  12.     _geta4 can be used to reload a4 at function entry. It is required
  13.     for functions that are run as a separate process/task, or functions
  14.     that are called from AmigaOS.
  15.  
  16.     BUGS
  17.     _geta4 should not be used. Calling _geta4() in a C function is
  18.     dangerous. This is a technical problem that cannot be fixed.
  19.     Other machanisms are provided to handle most cases where _geta4()
  20.     is required in a safe way.
  21.     Use assembler stubs in other cases. Calling _geta4() from an
  22.     assembler stub is safe.
  23.  
  24.     SEE ALSO
  25.     MyHookEntry(), MUI_DISPATCHERFUNC()
  26.